/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-6-2 下午5:37 Created by lyyang
 */
package com.jade.bss.weixin.api.token.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jade.bss.weixin.api.protocol.json.Response;

/**
 * api ticket
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-6-2 下午5:37
 */
public class ApiTicket extends Response
{
    private String ticket;

    @JsonProperty ("expires_in")
    private int expiresIn;

    public String getTicket()
    {
        return ticket;
    }

    public void setTicket(String ticket)
    {
        this.ticket = ticket;
    }

    public int getExpiresIn()
    {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn)
    {
        this.expiresIn = expiresIn;
    }
}
